package cn.supermaster.management.web.service.system;

import cn.supermaster.management.common.response.WebResponse;
import org.springframework.ui.ModelMap;

import javax.servlet.http.HttpServletResponse;

/**
 * All rights Reserved, Designed By www.super-bytecode.com
 *
 * @ProjectName: supermaster-management
 * @Package: cn.supermaster.management.web.service.system
 * @ClassName: ISIndexService
 * @Description: []
 * <p> </p>
 * @Author: [Lance Ting]
 * @Date: 2021/1/11 2:09
 * @Version: V1.0
 * @Copyright: 2021 www.super-bytecode.comn Inc. All rights reserved.
 * TODO: 注意,本文件Lance Ting所作,如果转载或使用请标明具体出处!
 **/
public interface ISIndexService {
    /*
     * ================================================
     *  页面跳转功能实现
     * ================================================
     */

    /**
     * @Description: [跳转系统Index页面]
     * <p></P>
     * @Title: skipIndexHtml
     * @Author: Lance Ting
     * @Date: 2021-01-11
     * @Param: modelMap
     * @Return: java.lang.String
     */
    String skipIndexHtml(ModelMap modelMap);

    /**
     * @Description: [跳转到系统锁屏界面]
     * <p></P>
     * @Title: skipLockscreenHtml
     * @Author: Lance Ting
     * @Date: 2021-01-11
     * @Param: modelMap
     * @Return: java.lang.String
     */
    String skipLockscreenHtml(ModelMap modelMap);

    /**
     * @Description: [跳转切换主题界面]
     * <p></P>
     * @Title: skipSwitchSkinHtml
     * @Author: Lance Ting
     * @Date: 2021-01-11
     * @Return: java.lang.String
     * @Throws:
     */
    String skipSwitchSkinHtml();

    /**
     * @Description: [跳转切换菜单界面]
     * <p></P>
     * @Title: skipMenuStyleHtml
     * @Author: Lance Ting
     * @Date: 2021-01-11
     * @Param: response
     * @Param: style
     * @Return: void
     */
    void skipMenuStyleHtml(HttpServletResponse response, String style);

    /**
     * @Description: [跳转系统主界面]
     * <p></P>
     * @Title: skipMainHtml
     * @Author: Lance Ting
     * @Date: 2021-01-11
     * @Param: modelMap
     * @Return: java.lang.String
     * @Throws:
     */
    String skipMainHtml(ModelMap modelMap);

    /*
     * ================================================
     *  Rest功能实现
     * ================================================
     */

    /**
     * @Description: [系统锁屏解锁处理]
     * <p></P>
     * @Title: doUnlockScreen
     * @Author: Lance Ting
     * @Date: 2021-01-11
     * @Param: password 密码
     * @Return: cn.supermaster.management.common.response.WebResult
     * @Throws:
     */
    WebResponse doUnlockScreen(String password);
}